package com.tim.app.db.dao;

import android.content.Context;

import com.application.library.log.DLOG;


public class GlobalHelperDao extends AbstractDAO {

	public GlobalHelperDao(Context context) {
		super(context);
	}

	public synchronized void clearAllTable() {

		try {
			openWritableDB();
			String tableNames[] = DBHelper.getTableNames();
			for (String tableName : tableNames) {
				delete(tableName, null, null);
			}

		} catch (DaoException e) {
			DLOG.d(TAG, e.getMessage());
		} finally {
  
			closeDB();
		}

	}

	@Override
	String getTableName() {
		return null;
	}

}
